package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

@TableMapperAnnotation(tableName = "t_bank_user", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class BankUser extends Domain{
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 用户id
	 * */
	@FieldMapperAnnotation
	Integer userId;
	/**
	 * 银行卡id
	 * */
	@FieldMapperAnnotation
	Integer bankId;
	/**
	 * 持卡人姓名
	 * */
	@FieldMapperAnnotation
	String name;
	/**
	 * 卡号
	 * */
	@FieldMapperAnnotation
	String cardNo;
	/**
	 * 地址
	 * */
	@FieldMapperAnnotation
	String address;
	/**
	 * 电话
	 * */
	@FieldMapperAnnotation
	String tel;
	/**
	 * 创建时间
	 * */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 修改时间
	 * */
	@FieldMapperAnnotation
	Long modifyTime;
	/**
	 * 状态 1正常 2禁用
	 * */
	@FieldMapperAnnotation
	Integer state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getBankId() {
		return bankId;
	}
	public void setBankId(Integer bankId) {
		this.bankId = bankId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Long getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
}
